home *** CD-ROM | disk | FTP | other *** search
/ EDUCORP 8 / Educorp2Compilation.sit / educorp2 / Demos / Aztec Source Level Debugger / demo / drawaxes.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-06-14  |  312 b   |  18 lines

  1. #include "barchart.h"
  2.  
  3. drawaxes(xyb, xaxis, yaxis, xlength, ylength)
  4. register struct XYBase *xyb;
  5. int xaxis, yaxis, xlength, ylength;
  6. {
  7.     PenNormal();
  8.     MoveTo(xaxis,yaxis-ylength);
  9.     Line(0,ylength);
  10.     Line(xlength,0);
  11.  
  12.     xyb->xaxis = xaxis;
  13.     xyb->yaxis = yaxis;
  14.     xyb->xlength = xlength;
  15.     xyb->ylength = ylength;
  16. }
  17.  
  18.